

#ifndef EVENT_H
#define EVENT_H

#include "stdfax.h"
#include "storage.h"
#include "net.h"
#include "recursion.h"

#include "dns.h"
#define EPOLL_NUM 1

typedef struct {
	int epfd[EPOLL_NUM];
	int author_fd[EPOLL_NUM];
	int client_fd[EPOLL_NUM];
	int shut_server;
	pthread_t worker[EPOLL_NUM];
}sentinel_server;



void* do_poll(void* index);


#endif